package org.bees.cms.web.action.furnish;

import javax.annotation.Resource;

import org.bees.cms.core.furnish.Kind;
import org.bees.cms.service.Service;
import org.bees.cms.service.furnish.KindService;
import org.bees.cms.web.action.EditActionSupport;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

@Scope("prototype")
@Controller
public class KindEditAction extends EditActionSupport<Kind> {
	@Resource
	private KindService kindServiceBean;

	@Override
	public Service<Kind> service() {
		return kindServiceBean;
	}

	@Override
	public Kind getDomain() {
		return domain;
	}

	@Override
	public void setDomain(Kind domain) {
		this.domain = domain;
	}
}
